import Layout from '@/layout'
export default {

  path: '/employess',
  component: Layout,
  children: [
    // 员工的管理
    // 如果子级的路由 path设置为空'' 那么会自动的匹配
    { path: '',
      name: 'employess',
      component: () => import('@/views/employess/employess.vue'),
      meta: { title: '员工管理', icon: 'people' }

    },
    {
      // 员工的详情
      path: 'detail/:id',
      name: 'detail',
      component: () => import('@/views/employess/modules/detail.vue'),
      hidden: true // 不再左侧菜单显示
    }
  ]

}
